package com.smart_campus.activiti.mapper;

import com.smart_campus.activiti.domain.Askforleave;
import com.smart_campus.activiti.vo.AskforleaveVo;
import com.smart_campus.sys.domain.User;

import java.util.List;

/**
*   @aytgor 陈鹏
*   @date 2020/6/28 15:14
*
*/
public interface AskforleaveMapper {
    int deleteByPrimaryKey(Integer activitiId);

    int insert(Askforleave record);

    int insertSelective(Askforleave record);

    Askforleave selectByPrimaryKey(Integer activitiId);

    int updateByPrimaryKeySelective(Askforleave record);

    int updateByPrimaryKey(Askforleave record);

    String getDeanOfStudies();

    String getPresident();

    List<Integer> getUserRole(User user);

    AskforleaveVo getAskforleave(Integer id);

    List<AskforleaveVo> LookMylEAVE(Integer integer);
}